#ifndef __ADCHANGE_H__
#define __ADCHANGE_H__

sbit CS=P3^5;
sbit DCLK=P3^6;
sbit DIN=P3^4;
sbit DOUT=P3^7;

#define command_AD1_12    0x94
#define command_NTC1_12   0xd4//热敏电阻
#define command_GR1_12    0xa4//光敏
#define command_AUX_12    0xe4

#define command_AD1_8     0x9c
#define command_NTC1_8    0xdc
#define command_GR1_8     0xac
#define command_AUX_8     0xec

unsigned int Read_data(unsigned char Command);

#endif